import socket


s = socket.socket()

# host = socket.gethostname()
port = 1234

# 直接用IP
host = '127.0.0.1'

s.connect((host, port))
print(s.recv(1024).decode())
